<?php
	$mysqli = new mysqli("14.63.219.99", "erp", "nguyen","elihan");
	$query = mysqli_query($mysqli,"call getTotalDocument($id_employee)");	
	while($row = mysqli_fetch_array($query)){
		$num_re_pending = $row[RePendingDoc];
		$num_re_not_approve = $row[ReNotApprovedDoc];
		$num_re_approved= $row[ReApprovedDoc];
		
		$num_meeting= $row[ReMeetingDoc];
		$num_re_declined = $row[ReDeclinedDoc];
		$num_re_reference_approved = $row[ReRefApprovedDoc];
		$num_re_reference_waiting = $row[ReRefWaitingDoc];
		$num_re_received_metting = $row[ReMeetingDoc];
		
		
		$num_my_sendingDoc=$row[MySendingDoc];
		$num_my_savedDoc=$row[MySavedDoc];
		$num_my_approveDoc=$row[MyApproveDoc];
		$num_my_declinedDoc=$row[MyDeclinedDoc];
		$num_my_meetingDoc=$row[MyMeetingDoc];
		
		$num_bin_re_doc = $row[BinReceiverDoc];
		$num_bin_se_doc = $row[BinSendingDoc];
	}
	
	mysqli_close($mysqli);
?>